Skip to content

Update dependency @ai-sdk/anthropic to v3#48

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ai-sdk-anthropic-3.x
Open

Update dependency @ai-sdk/anthropic to v3#48
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ai-sdk-anthropic-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 25, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@ai-sdk/anthropic (source) ^1.2.6^3.0.0 age confidence

Release Notes

vercel/ai (@​ai-sdk/anthropic)

v3.0.73

Compare Source

Patch Changes

v3.0.72

Compare Source

Patch Changes

v3.0.71

Compare Source

Patch Changes
  • 95b4fe0: fix(provider/anthropic): stop adding fine-grained-tool-streaming-2025-05-14 beta for claude-opus-4-7

v3.0.70

Compare Source

Patch Changes
  • 2ff8d57: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancements

v3.0.69

Compare Source

Patch Changes
  • 61f1a61: feat (provider/anthropic): add support for inference_geo provider option

v3.0.68

Compare Source

Patch Changes
  • d42076d: Add AI Gateway hint to provider READMEs

v3.0.67

Patch Changes

v3.0.66

Patch Changes

v3.0.65

Patch Changes
  • 94aed06: fix(anthropic): allow both temperature and topP for non-Anthropic models using the Anthropic-compatible API

    The temperature/topP mutual exclusivity check now only applies to known Anthropic models (model IDs starting with claude-). Non-Anthropic models using the Anthropic-compatible API (e.g. Minimax) can now send both parameters as required by their APIs.

v3.0.64

Patch Changes
  • 05b8ca2: feat (provider/anthropic): support passing metadata.user_id

v3.0.63

Patch Changes

v3.0.62

Compare Source

Patch Changes
  • 41c6a56: fix(anthropic): skip passing beta header for tool search tools

v3.0.61

Patch Changes
  • 2381567: fix(vertex): throw warning when strict: true for vertexAnthropic

v3.0.59

Compare Source

Patch Changes

v3.0.58

Compare Source

Patch Changes

v3.0.57

Compare Source

Patch Changes

v3.0.56

Compare Source

Patch Changes
  • e49c34d: feat(anthropic): expose anthropic.anthropicBeta to downstream providers
  • e49c34d: feat(anthropic): expose anthropic.anthropicBeta to downstream provider

v3.0.55

Compare Source

Patch Changes
  • 7531e72: fix(provider/anthropic): handle encrypted_code_execution_result for multi-turn with web_fetch/web_search 2026020

v3.0.54

Compare Source

Patch Changes
  • 56c67d5: feat(provider/anthropic): add support for Anthropic web tools web_fetch_20260209 and web_search_20260209

v3.0.53

Compare Source

Patch Changes
  • 89caf28: fix(openai-compat): decode base64 string data

v3.0.52

Compare Source

Patch Changes

v3.0.51

Compare Source

Patch Changes
  • 64a8fae: chore: remove obsolete model IDs for Anthropic, Google, OpenAI, xAI

v3.0.50

Compare Source

Patch Changes

v3.0.49

Compare Source

Patch Changes
  • d98d9ba: Migrated deprecated output_format parameter to output_config.format for structured outputs + Enabled native structured output support for Bedrock Anthropic models via output_config.format.

v3.0.48

Compare Source

Patch Changes
  • 2164cdf: feat(anthropic): add the new code_execution tool

v3.0.47

Compare Source

Patch Changes
  • 17978c6: Pass cacheControl provider option as top-level cache_control in Anthropic API request body to support automatic caching.

v3.0.46

Compare Source

Patch Changes
  • b094c07: fix compaction_delta streaming schema to allow null content

v3.0.45

Compare Source

Patch Changes
  • 2a1c664: feat(provider/anthropic): add support for new Claude Sonnet 4.6 model

v3.0.44

Compare Source

Patch Changes
  • 23ac4a3: fix(provider/anthropic): minor follow up to support no-op speed standard

v3.0.43

Compare Source

Patch Changes

v3.0.42

Compare Source

Patch Changes
  • 99fbed8: feat: normalize provider specific model options type names and ensure they are exported

v3.0.41

Compare Source

Patch Changes
  • c60b393: feat(anthropic): add the new compaction feature

v3.0.40

Compare Source

Patch Changes
  • 8c2b1e1: fix(provider/anthropic): include actual raw usage data for response.usage.raw when streaming

v3.0.39

Compare Source

Patch Changes
  • 0a0d29c: feat(anthropic): add support for Opus 4.6 fast mode

v3.0.38

Compare Source

Patch Changes

v3.0.37

Compare Source

Patch Changes
  • e288302: feat(anthropic): add support for Opus 4.6

v3.0.36

Compare Source

Patch Changes
  • 1652320: feat(anthropic): support custom tool-reference content for deferred tool loading

v3.0.35

Compare Source

Patch Changes

v3.0.34

Compare Source

Patch Changes

v3.0.33

Compare Source

Patch Changes
  • 445cbe3: fix streaming context_management field location - was incorrectly expected inside delta object but API returns it at message_delta root level

v3.0.32

Compare Source

Patch Changes
  • c33343b: fix(anthropic): add missing param in tool schema

v3.0.31

Compare Source

Patch Changes

v3.0.30

Compare Source

Patch Changes
  • 1524271: chore: add skill information to README files

v3.0.29

Compare Source

Patch Changes
  • b9d105f: Fix cache usage reporting for anthropic stream

v3.0.28

Compare Source

Patch Changes
  • 2445da4: fix(provider/anthropic): populate outputTokens.text field in usage

v3.0.27

Compare Source

Patch Changes
  • 572ea12: feat(anthropic): allow custom/dynamic key for providerOptions

v3.0.26

Compare Source

Patch Changes
  • 2c70b90: chore: update provider docs

v3.0.25

Compare Source

Patch Changes
  • 0bb9bcd: feat(provider/anthropic): add computer_20251124 tool for claude opus 4.5

v3.0.24

Compare Source

Patch Changes

v3.0.23

Compare Source

Patch Changes

v3.0.22

Compare Source

Patch Changes
  • 8ccf04b: Add authToken option to support Authorization: Bearer authentication as an alternative to x-api-key header authentication.

v3.0.21

Compare Source

Patch Changes
  • 662d359: feat(anthropic): deferred results for tool search tool

v3.0.20

Compare Source

Patch Changes
  • 2b8369d: chore: add docs to package dist

v3.0.19

Compare Source

Patch Changes
  • 8dc54db: chore: add src folders to package bundle

v3.0.18

Compare Source

Patch Changes
  • c10bd49: fix(anthropic): handle web_search_result_location citations and add webFetch documents to citationDocuments

v3.0.17

Compare Source

Patch Changes
  • 4729bed: Fix JSON parsing crash when handling Anthropic web_fetch tool error results

v3.0.16

Compare Source

Patch Changes
  • d36fa72: Not sending structured output beta header for json response tool

v3.0.15

Compare Source

Patch Changes

v3.0.14

Compare Source

Patch Changes

v3.0.13

Compare Source

Patch Changes

v3.0.12

Compare Source

Patch Changes

v3.0.11

Compare Source

Patch Changes
  • 8c1c6e3: fix(anthropic): add application/json type regex matching

v3.0.10

Compare Source

Patch Changes
  • 02d9b68: fix input_tokens compatibility

v3.0.9

Compare Source

Patch Changes
  • de2399b: fix(anthropic): assign type urls in file parts correctly

v3.0.8

Compare Source

Patch Changes
  • bee4f82: fix(anthropic): enable structured output support for claude-haiku-4-5

    This fixes an issue where the strict: true property was not included in the request body when using tools with Claude Haiku 4.5, because supportsStructuredOutput was incorrectly set to false for this model.

    Claude Haiku 4.5 supports structured outputs, so the strict property should be forwarded to the Anthropic API when specified on tools.

v3.0.7

Compare Source

Patch Changes

v3.0.6

Compare Source

Patch Changes
  • 2231e84: fix(anthropic): implement temperature/topP mutual exclusivity

    Resolves the Anthropic API breaking change where sampling parameters must use only temperature OR top_p, not both. When both parameters are provided:

    • Temperature takes priority and topP is ignored
    • A warning is added to inform users: "topP is not supported when temperature is set. topP is ignored."
    • The validation only runs when thinking mode is not enabled (thinking mode has its own parameter validation)

    See Anthropic migration guide: https://platform.claude.com/docs/en/about-claude/models/migrating-to-claude-4

v3.0.5

Compare Source

Patch Changes

v3.0.4

Compare Source

Patch Changes
  • d98d9ba: Migrated deprecated output_format parameter to output_config.format for structured outputs + Enabled native structured output support for Bedrock Anthropic models via output_config.format.

v3.0.3

Compare Source

Patch Changes
  • 0a0d29c: feat(anthropic): add support for Opus 4.6 fast mode

v3.0.2

Compare Source

Patch Changes
  • b9d105f: Fix cache usage reporting for anthropic stream

v3.0.1

Compare Source

Patch Changes
  • 8dc54db: chore: add src folders to package bundle

v3.0.0

Compare Source

Major Changes
Minor Changes
Patch Changes
  • 0c3b58b: fix(provider): add specificationVersion to ProviderV3

  • 0adc679: feat(provider): shared spec v3

  • 50b70d6: feat(anthropic): add programmatic tool calling

  • b8ea36e: feat(provider/anthropic): Anthropic-native structured outputs

  • ed537e1: Add support for pdf file in tool result in anthropic

  • 2109385: 'fix(anthropic): Opus 4.5 maxOutputTokens bump 32000 -> 64000'

  • 7c4328e: Adds url-based pdf and image support for anthropic tool results

  • 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3

    Before

    model.textEmbeddingModel("my-model-id");

    After

    model.embeddingModel("my-model-id");
  • f33a018: chore: add model ID for Haiku 4.5

  • b2dbfbf: add context_management for anthropic

  • dce03c4: feat: tool input examples

  • 2625a04: feat(openai); update spec for mcp approval

  • 11e4abe: feat(provider/anthropic): web search tool updates

  • f13958c: chore(antropic): allow custom names for provider-defined tools

  • afb00e3: feat(provider/anthropic): add text_editor_20250728 tool support

    Add text_editor_20250728 tool for Claude 4 models (Sonnet 4, Opus 4, Opus 4.1) with optional max_characters parameter and no undo_edit command support.

  • 95f65c2: chore: use import * from zod/v4

  • 954c356: feat(openai): allow custom names for provider-defined tools

  • 9e35785: fix(anthropic): send {} as tool input when streaming tool calls without arguments

  • 544d4e8: chore(specification): rename v3 provider defined tool to provider tool

  • a5f77a6: fix(anthropic): remove outdated tool name docs

  • ca07285: feat(anthropic): add prompt caching validation

  • a5a8db4: chore: add model ID for Sonnet 4.5

  • 1742445: Support for custom provider name in google and anthropic providers

  • e8109d3: feat: tool execution approval

  • 87db851: fix(vertex/anthropic): passing beta header only for structured outputs

  • f6603b7: fix(provider/anthropic): correct raw usage information

  • ed329cb: feat: Provider-V3

  • 3bd2689: feat: extended token usage

  • 1cad0ab: feat: add provider version to user-agent header

  • 2049c5b: Fix handling of error in web fetch tool in anthropic

  • 4c5a6be: feat(provider/anthropic): default and limit maxTokens based on model

  • 9e1e758: fix(anthropic): use default thinking budget when unspecified

  • 589a4ee: fix(anthropic): simplify pulling first chunk

  • 8dac895: feat: LanguageModelV3

  • 6f845b4: Add support for 2025-08-25 code execution tool

  • 9354297: feat(provider/anthropic): add support for Agent Skills

  • 03849b0: throw 500 error when the first stream chunk is an error

  • 0ae783e: feat(anthropic): add the new tool search tools

  • 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings

  • eb56fc6: fix(anthropic): pull first chunk without async IIFE

  • fa35e95: feat(provider/anthropic): add web fetch tool

  • 80894b3: add return file_id property for anthropic code-execution-20250825 to download output files.

  • 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases

  • 81d4308: feat(provider/anthropic): mcp connector support

  • 6fc35cb: Retain user-supplied betas.

  • f4db7b5: feat(provider/anthropic): expose container from response in provider metadata

  • 6c38080: fix(anthropic): support pdf responses in web_fetch_tool_result schema validation

  • 4616b86: chore: update zod peer depenedency version

  • dedf206: feat(provider/anthropic): expose stop_sequence in provider metadata

  • 983e394: chore(provider/anthropic): add missing provider options jsdoc

  • 0e38a79: support ANTHROPIC_BASE_URL

  • cf4e2a9: Add support for tool calling with structured output

  • f4e4a95: feat(provider/anthropic): enable fine grained tool streaming by default

  • 21f378c: fix(provider/anthropic): do not limit maxTokens when model id is unknown

  • c5440c5: chore(provider/anthropic): update anthropic model ids

  • 1d15673: fix(provider/anthropic): clamp temperature to valid 0-1 range with warnings

  • 9cff587: chore(provider/anthropic): lazy schema loading

  • d129d89: chore(anthropic): remove unnecessary doc

  • 3794514: feat: flexible tool output content support

  • e1e2821: fix(provider/anthropic): support null title in web fetch tool

  • cbf52cd: feat: expose raw finish reason

  • 10c1322: fix: moved dependency @ai-sdk/test-server to devDependencies

  • d08308b: feat(provider/anthropic): memory tool

  • 05d5b9a: fix(anthropic): make title field nullable in web_fetch and web_search tool output schemas

  • 1bd7d32: feat: tool-specific strict mode

  • 83aaad8: Opus 4.5 and effort provider option

  • Updated dependencies

v2.0.79

Compare Source

Patch Changes

v2.0.78

Compare Source

Patch Changes

v2.0.77

Compare Source

Patch Changes
  • 5543cd1: Add AI Gateway hint to provider READMEs
  • e1ed246: fix(anthropic): use default thinking budget when unspecified

v2.0.76

Compare Source

Patch Changes
  • 2fe3997: feat (provider/anthropic): add support for inference_geo provider option

v2.0.75

Patch Changes
  • 4b40033: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancements

v2.0.74

Patch Changes

v2.0.73

Patch Changes
  • 42bc840: fix(anthropic): move claude-haiku-4-5 to the 4-5 model group in getModelCapabilities

    Moves claude-haiku-4-5 from the claude-sonnet-4-/claude-3-7-sonnet group (structured output: false) to the claude-sonnet-4-5/claude-opus-4-5 group (structured output: true), aligning with main and release-v6.0.

v2.0.72

Compare Source

Patch Changes
  • 98bd0e2: feat(provider/anthropic): support new code_execution tool

v2.0.71

Compare Source

Patch Changes
  • b0a0821: feat (provider/anthropic): support passing metadata.user_id

v2.0.70

Compare Source

Patch Changes
  • a9a7f73: feat(anthropic): support eagerInputStreaming option for fine-grained tool streaming

v2.0.69

Compare Source

Patch Changes

v2.0.68

Compare Source

Patch Changes
  • 63bf188: feat(anthropic): expose anthropic.anthropicBeta to downstream providers

v2.0.67

Compare Source

Patch Changes
  • e1b08a6: Pass cacheControl provider option as top-level cache_control in Anthropic API request body to support automatic caching.

v2.0.66

Compare Source

Patch Changes
  • b153525: fix compaction_delta streaming schema to allow null content

v2.0.65

Compare Source

Patch Changes
  • fe42fd3: feat(provider/anthropic): add support for new Claude Sonnet 4.6 model

v2.0.64

Compare Source

Patch Changes
  • 9d5c1b1: fix(provider/anthropic): minor follow up to support no-op speed standard

v2.0.63

Compare Source

Patch Changes
  • e551c84: fix(anthropic): map proper context management tools for anthropic

v2.0.62

Compare Source

Patch Changes

v2.0.61

Compare Source

Patch Changes
  • af58c05: feat(anthropic): add the new compaction feature

v2.0.60

Compare Source

Patch Changes
  • 368f270: feat(anthropic): add support for Opus 4.6 fast mode

v2.0.59

Compare Source

Patch Changes
  • ca1f53a: feat(anthropic): add support for Opus 4.6

v2.0.58

Compare Source

Patch Changes
  • 8479fe8: trigger for backport release
  • 008ce2f: fix input_tokens compatibility

v2.0.57

Compare Source

Patch Changes

v2.0.56

Compare Source

Patch Changes
  • 3716d34: fix(anthropic): support pdf responses in web_fetch_tool_result schema validation

v2.0.55

Compare Source

Patch Changes

v2.0.54

Compare Source

Patch Changes
  • ccf34f3: fix(anthropic): make title field nullable in web_fetch and web_search tool output schemas

v2.0.53

Compare Source

Patch Changes
  • 65dee10: fix(anthropic): simplify pulling first chunk

v2.0.52

Compare Source

Patch Changes
  • 518e786: fix(anthropic): send {} as tool input when streaming tool calls without arguments

v2.0.51

Compare Source

Patch Changes
  • a54839c: fix(anthropic): pull first chunk without async IIFE

v2.0.50

Compare Source

Patch Changes

v2.0.49

Compare Source

Patch Changes
  • dcdfeb7: Retain user-supplied betas.

v2.0.48

Compare Source

Patch Changes
  • f2c6cbd: feat(provider/anthropic): Anthropic-native structured outputs

v2.0.47

Compare Source

Patch Changes
  • 3a7a427: 'fix(anthropic): Opus 4.5 maxOutputTokens bump 32000 -> 64000'

v2.0.45

Compare Source

Patch Changes
  • 54b7c08: fix(provider/anthropic): clamp temperature to valid 0-1 range with warnings

v2.0.44

Compare Source

Patch Changes

v2.0.43

Compare Source

Patch Changes
  • e2dac8b: Support for custom provider name in google and anthropic providers

v2.0.42

Compare Source

Patch Changes
  • 035b927: fix: set providerExecuted on Anthropic web_fetch tool results

v2.0.41

Compare Source

Patch Changes

v2.0.40

[Compare Source](https://redirect.

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Asia/Jerusalem)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Dec 25, 2025
@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
connected-agent Error Error May 2, 2026 6:55am

Request Review

@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from cadf3f8 to 1016800 Compare December 31, 2025 18:13
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 1016800 to 3770097 Compare January 7, 2026 22:39
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 3770097 to a7a354e Compare January 15, 2026 19:04
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from a7a354e to eb5e6cf Compare January 17, 2026 18:15
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from eb5e6cf to e91b5df Compare January 23, 2026 15:36
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from e91b5df to 76963b5 Compare January 28, 2026 12:14
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 76963b5 to 2f7e0c6 Compare January 29, 2026 02:40
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 2f7e0c6 to c686b11 Compare January 30, 2026 15:32
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from c686b11 to df0b8ab Compare January 30, 2026 22:44
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from df0b8ab to a45ab32 Compare February 1, 2026 03:21
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from a45ab32 to 050b089 Compare February 1, 2026 15:41
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 050b089 to 8ae1931 Compare February 3, 2026 22:56
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 8ae1931 to 876b5be Compare February 5, 2026 03:15
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 876b5be to caa8461 Compare February 6, 2026 22:45
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 105ccd5 to 8af2a21 Compare March 1, 2026 22:47
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 8af2a21 to 3715694 Compare March 2, 2026 19:08
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 3715694 to e9d253b Compare March 3, 2026 11:15
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from e9d253b to 7b3c5ef Compare March 5, 2026 16:46
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 7b3c5ef to 5123f01 Compare March 17, 2026 22:43
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 5123f01 to 1b1a155 Compare March 20, 2026 23:06
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 1b1a155 to f011a86 Compare March 27, 2026 06:39
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from f011a86 to 06840a2 Compare April 5, 2026 18:07
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 06840a2 to b683df5 Compare April 8, 2026 11:05
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from b683df5 to a32b1b5 Compare April 10, 2026 22:42
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from a32b1b5 to 6c9c5ca Compare April 11, 2026 02:39
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 6c9c5ca to 161a0d2 Compare April 19, 2026 18:31
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 161a0d2 to 6158280 Compare April 23, 2026 07:35
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 6158280 to 5262e69 Compare April 24, 2026 20:10
@renovate renovate Bot force-pushed the renovate/ai-sdk-anthropic-3.x branch from 5262e69 to 067e75c Compare April 29, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants